<?php
// no direct access
defined('_JEXEC') or die;
//print_r($blocks);exit;
?>
<h2 class="titlepage">Hvordan virker det</h2>
<div class="eachBox video-box clearfix" style="border:none;">
    <div class="wrap-left-tab">
        <div class="wrapper-iframe"><?php echo preg_replace("#\{youtube .*?=(.+)\}#",'<iframe width="323" height="182" src="//www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>',$blocks[1])?></div>
        <div class="wrap-bnt"> <a class="btnYellow" href="index.php?option=com_users&view=registration&Itemid=105">Opret Bruger nu</a> <a class="btnGreen" href="index.php?option=com_content&view=article&layout=pack-n-price&id=7&Itemid=102">Pakker og priser</a> </div>
    </div>
    <div class="cont-box clearfix">
        <?php echo $blocks[0];?>
    </div>
</div>
<!--video-box-->
<div class="eachBox hvordan-box clearfix">
    <div class="cont-box clearfix">
        <?php echo $blocks[2];?>
    </div>
    <div class="cont-box clearfix">
        <?php echo $blocks[4];?>
    </div>
    <div class="cont-box clearfix">
        <?php echo $blocks[3];?>
    </div>
    <div class="cont-box clearfix">
        <?php echo $blocks[5];?>
    </div>
</div>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 982967144;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script> 
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/982967144/?value=0&amp;guid=ON&amp;script=0"/> </div>
</noscript>
